Rule Contexts in Active Databases - A Mechanism for Dynamic Rule Grouping
نویسندگان
چکیده
Engineering applications that use Active DBMSs (ADBMSs) often need to group activities into modes that are shifted during the execution of different tasks. This paper presents a mechanism for grouping rules into contexts that can be activated and deactivated dynamically. The ADBMS monitors only those events that affect rules of activated contexts. By dynamic rule grouping the rules to be monitored can be changed during the transactions. This can be contrasted by static rule grouping where the rules are associated with specific objects during the schema definition. A rule is always activated into a previously defined context. The same rule can be activated with different parameters and into several different contexts. Rules in a context are not enabled for triggering until the context is activated. However, rules can be directly activated by activating them into a previously activated context. When rule contexts are deactivated all the rules in that context are disabled from triggering. User defined contexts can be checked at any time in a transaction. Rule contexts can be used as a representation of coupling modes, where the ADBMS has built-in contexts for immediate, deferred, and detached rule processing. These built-in coupling modes are always active and are automatically checked by the ADBMS. Contexts and rules are first-class objects in the ADBMS. Database procedures can be defined that dynamically activate and deactivate contexts and rules to support dynamically changing behaviours of complex applications. The context mechanism has been implemented in the AMOS ADBMS. The paper concludes with an example of a manufacturing control application that highlights the need for rule contexts.
منابع مشابه
Taylor Rule: A Model for the Mechanism of Monetary Policy and Inflation Control in the Framework of the Interest-Free Banking Act
The ultimate goal of monetary policy is to achieve price stability and high output. In this regard, central banks usually change the interest rate, liquidity, and money base in order to apply monetary policies. The John B. Taylor rule is one of the rules known in the transmission of monetary policy.[1] Based on this rule and given the output gap and inflation gap, the central bank increases or ...
متن کاملAdaptive Rule-Base Influence Function Mechanism for Cultural Algorithm
This study proposes a modified version of cultural algorithms (CAs) which benefits from rule-based system for influence function. This rule-based system selects and applies the suitable knowledge source according to the distribution of the solutions. This is important to use appropriate influence function to apply to a specific individual, regarding to its role in the search process. This rule ...
متن کاملDesign of a Model Reference Adaptive Controller Using Modified MIT Rule for a Second Order System
Sometimes conventional feedback controllers may not perform well online because of the variation in process dynamics due to nonlinear actuators, changes in environmental conditions and variation in the character of the disturbances. To overcome the above problem, this paper deals with the designing of a controller for a second order system with Model Reference Adaptive Control (MRAC) scheme usi...
متن کاملNEW CRITERIA FOR RULE SELECTION IN FUZZY LEARNING CLASSIFIER SYSTEMS
Designing an effective criterion for selecting the best rule is a major problem in theprocess of implementing Fuzzy Learning Classifier (FLC) systems. Conventionally confidenceand support or combined measures of these are used as criteria for fuzzy rule evaluation. In thispaper new entities namely precision and recall from the field of Information Retrieval (IR)systems is adapted as alternative...
متن کاملReconnoitering the effective Channels of Monetary Transmission Mechanism in Iran Using a Dynamic Stochastic General Equilibrium Model
The purpose of the present research is to investigate the effective channels of the monetary transmission mechanism in Iran. To do so, we devised a New Keynesian Dynamic Stochastic General Equilibrium Model. In our model, the different types of nominal rigidities are introduced beside all the related structural equations, which are extracted and linearized around a steady state point. Furthermo...
متن کامل